#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>

#include "network.h"

void clrscr(void) {
	int i;

	for (i = 0; i < 100; i++)
		// A bunch of new lines for now. It's blank, hey!
		putchar('\n');
}



int main(int argc, char **argv)
{
	
	if(argc < 2) 
	{
		printf("DW: Usage: %s <url>\n", argv[0]);
		exit(0);
	}

	
	printf("===== HTTP Downloader =====\n");
	printf("DW: Starting....\n");
	char urls[1024] = "";
	
	strcpy(urls, argv[1]);

	/*Download using http request*/
	Dw_GetHTTPRequestFile(urls);
	return 0;
}

